package com.hs.srm.admin.modules.requisition.service;

import com.baomidou.mybatisplus.service.IService;
import com.hs.srm.admin.modules.orders.entity.ScmPoHeaderEntity;
import com.hs.srm.admin.modules.orders.entity.ScmPoItemEntity;
import com.hs.srm.admin.modules.requisition.entity.SamplePurchRequestHeaderEntity;

import java.util.List;

/**
 * @author ych
 * @since 2020-05-09 09:12:05
 */
public interface SamplePurchRequestHeaderService extends IService<SamplePurchRequestHeaderEntity> {

    SamplePurchRequestHeaderEntity findByNo(String purchRequestCode);

    //改变货源状态
    boolean changeGoodsStatus(int goodsStatus, String requestCode);

    //查找当天的收获的样品订单
    List<ScmPoHeaderEntity> findPoNo();

    //查找当天的收获的样品订单
    List<ScmPoItemEntity> findItemPoNo();
}